https://portal-sandbox.seapay.com.sa/api/v01/merchants/[merchant-code]/reseller
Represents Reseller associated with the given merchant.
| Method: POST | Implicit: No | Returns: ServiceResponse |
| Consumes: json, xml | Produces: json, xml | |
|
Attaches reseller to a merchant. A single reseller can be associated with a single merchant.
|
||
| # | Name | Type | Required | Default | Description |
|---|---|---|---|---|---|
| 01 | code | Integer | Yes |
Identifier of a reseller that is going to be attached to the specified merchant. |
| Method: DELETE | Implicit: No | Returns: ServiceResponse |
| Consumes: xurl | Produces: json, xml | |
|
Detaches reseller from a merchant.
|
||
| Method: GET | Implicit: Yes | Returns: Reseller * |
| Consumes: xurl | Produces: json, xml | |
|
Loads reseller associated with the merchant.
|
||